<?php


namespace App\Consts\ErrorCode;

/**
 * 2位平台号+2位模块号+3位功能+3位业务码号
 * 内部平台号为10,基础池模块08，配置功能为01，业务错误001
 *
 *
 * Class PoolErrorCode
 * @package App\Consts\ErrorCode
 */
class PoolErrorCode
{

    const CONFIG_VALIDATION_ERROR = 100801001;
    const CONFIG_KEY_EXIST = 100801002;
    const CONFIG_KEY_NOT_EXIST = 100801002;
    const CONFIG_KEY_DELETE_FAILED = 100801003;

    const ARTICLE_VALIDATION_ERROR = 100802001;
    const ARTICLE_SAVE_FAILED = 100802002;
    const ARTICLE_DELETE_FAILED = 100802003;
    const ARTICLE_NOT_EXIST = 100802004;

    const ARTICLE_CATEGORY_VALIDATION_ERROR = 100803001;
    const ARTICLE_CATEGORY_SAVE_FAILED = 100803002;
    const ARTICLE_CATEGORY_DELETE_FAILED = 100803003;
    const ARTICLE_CATEGORY_NOT_EXIST = 100803004;
    const ARTICLE_CATEGORY_HAS_CONTENT = 100803005;

    const TASK_CATEGORY_VALIDATION_ERROR = 100804001;
    const TASK_CATEGORY_SAVE_FAILED = 100804002;
    const TASK_CATEGORY_DELETE_FAILED = 100804003;

}
